package testy;

import java.awt.CardLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JPasswordField;
import javax.swing.JTextField;

public class AdminHomePanel extends JPanel {
	
	private LoginPanel mLoginPanel;
	private JFrame mFrame;
	
	public AdminHomePanel(final LoginPanel theLoginPanel, final JFrame theFrame) {
		super();
		mLoginPanel = theLoginPanel;
		mFrame = theFrame;
		setup();
		
	}
	
	private void setup() {//nnn
		setLayout(null);

      JPanel panel = new JPanel();
      
      panel.setLayout(null);
     
//      JButton btnLogout_1 = new JButton("Log Out");
//      btnLogout_1.addActionListener(new ActionListener() {
//              public void actionPerformed(ActionEvent e) {
//                      CardLayout c = ((CardLayout) (frame.getContentPane()).getLayout());
//                      c.show(frame.getContentPane(), "name_1417317733020304000");
//                      pinField.setText("");
//                      passwordField.setText("");
//              }
//      });
//      btnLogout_1.setBounds(132, 113, 155, 29);
//      panel.add(btnLogout_1);
//        setVisible(true);
	}
}